import { defineStore } from "pinia";
import { ref } from "vue";

export const useLanguageStose = defineStore('ca-language', ()=>{
  // 多语言
  const language = ref()
  const setLanguage = (lang:string) =>{
    language.value = lang
  }
  return {language,setLanguage}
  },{
    persist:true
  }
)